let autoprefixer = require('autoprefixer')
let pxtorem = require('postcss-pxtorem')
console.log(process.env.outputDir)
module.exports = {
  runtimeCompiler: true,
  productionSourceMap: false,
  publicPath: '/',
  outputDir: process.env.VUE_APP_BUILD_PATH,
  css: {
    loaderOptions: {
      postcss: {
        plugins: [
          autoprefixer({
            browsers: ['Android >= 4.0', 'iOS >= 7']
          }),
          pxtorem({
            rootValue: 37.5,
            propList: ['*']
          })
        ]
      }
    }
  }
}
